package com.art.wisdom.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 做测试
 * @author xiezhiwei
 * @email xiezhiwei0314@126.com
 *
 */
@Component
@ConfigurationProperties
@PropertySource("classpath:config.yml") 
public class UserInfo {
	
	private String id;
	
	private String name;
	
    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
